//
//  OneViewController.m
//  TaoBaoOne
//
//  Created by apple on 16/7/8.
//  Copyright © 2016年 shengzhengjiguan. All rights reserved.
//

#import "OneViewController.h"
#import "NavigController.h"
#import "FistViewController.h"
@interface OneViewController ()

@end

@implementation OneViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
- (IBAction)Load:(UIButton *)sender {
    FistViewController *tabBar1=[[FistViewController alloc]initWithNibName:@"FistViewController" bundle:nil];
    
    NavigController*tabBar=[[NavigController alloc]initWithRootViewController:tabBar1];
[self presentViewController:tabBar animated:YES completion:^{
        UIApplication *appLicat=[UIApplication sharedApplication];
        appLicat.statusBarStyle=UIStatusBarStyleLightContent;
    }];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}
@end
